const path = require('path');
const merge = require('webpack-merge');

const base = require('./webpack.common');
const plugins = require('./plugins');

module.exports = merge(base, {
  mode: 'production',
  plugins: [
    plugins.MiniCssExtractPlugin,
    plugins.OptimizeCssAssetsPlugin,
    plugins.HtmlWebpackPlugin,
  ],
});
